﻿using System;
namespace YogaStudio.Service.BLL
{
    public interface ISectionService : IDisposable
    {
        bool DeleteSection(YogaStudio.Data.Domain.Section section);
        void Dispose(bool disposing);
        System.Collections.Generic.List<YogaStudio.Data.Domain.Section> GetAllSections();
        YogaStudio.Data.Domain.Section GetSection(int id);
        System.Collections.Generic.IEnumerable<YogaStudio.Data.Domain.Section> GetSectionsOfNextSemester(int? facultyId);
        void SaveSection(YogaStudio.Data.Domain.Section section);
        void UpdateSection(YogaStudio.Data.Domain.Section section);
    }
}
